package com.bdqn.membersystem.pojo;

import java.io.Serializable;
import java.math.BigDecimal;

/**
    * 用户订购商品表
    */
public class OrderList implements Serializable {
    /**
    * list_id
    */
    private String listId;

    private String goodsId;

    /**
    * 货品编码
    */
    private String goodsSn;

    /**
    * 货品名称
    */
    private String goodsName;

    /**
    * 货品规格
    */
    private String goodsFormat;

    /**
    * 数量
    */
    private Integer goodsNum;

    /**
    * 单价
    */
    private BigDecimal eachPrice;

    /**
    * 总价
    */
    private BigDecimal sumPrice;

    /**
    * 折扣
    */
    private BigDecimal discount;

    /**
    * 实际价格
    */
    private BigDecimal realPrice;

    /**
    * 货币种类
    */
    private String currency;

    /**
    * 实际pv
    */
    private BigDecimal realPv;

    /**
    * pv折算率
    */
    private BigDecimal pvRate;

    private static final long serialVersionUID = 1L;

    public String getListId() {
        return listId;
    }

    public void setListId(String listId) {
        this.listId = listId;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsSn() {
        return goodsSn;
    }

    public void setGoodsSn(String goodsSn) {
        this.goodsSn = goodsSn;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsFormat() {
        return goodsFormat;
    }

    public void setGoodsFormat(String goodsFormat) {
        this.goodsFormat = goodsFormat;
    }

    public Integer getGoodsNum() {
        return goodsNum;
    }

    public void setGoodsNum(Integer goodsNum) {
        this.goodsNum = goodsNum;
    }

    public BigDecimal getEachPrice() {
        return eachPrice;
    }

    public void setEachPrice(BigDecimal eachPrice) {
        this.eachPrice = eachPrice;
    }

    public BigDecimal getSumPrice() {
        return sumPrice;
    }

    public void setSumPrice(BigDecimal sumPrice) {
        this.sumPrice = sumPrice;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    public BigDecimal getRealPrice() {
        return realPrice;
    }

    public void setRealPrice(BigDecimal realPrice) {
        this.realPrice = realPrice;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    public BigDecimal getRealPv() {
        return realPv;
    }

    public void setRealPv(BigDecimal realPv) {
        this.realPv = realPv;
    }

    public BigDecimal getPvRate() {
        return pvRate;
    }

    public void setPvRate(BigDecimal pvRate) {
        this.pvRate = pvRate;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", listId=").append(listId);
        sb.append(", goodsId=").append(goodsId);
        sb.append(", goodsSn=").append(goodsSn);
        sb.append(", goodsName=").append(goodsName);
        sb.append(", goodsFormat=").append(goodsFormat);
        sb.append(", goodsNum=").append(goodsNum);
        sb.append(", eachPrice=").append(eachPrice);
        sb.append(", sumPrice=").append(sumPrice);
        sb.append(", discount=").append(discount);
        sb.append(", realPrice=").append(realPrice);
        sb.append(", currency=").append(currency);
        sb.append(", realPv=").append(realPv);
        sb.append(", pvRate=").append(pvRate);
        sb.append("]");
        return sb.toString();
    }
}